package dancetiktokenumsmysql

const (
	DanceComposePropChangeLogChangeTypeAdd     = 1 //增加
	DanceComposePropChangeLogChangeTypeReduced = 2 //减少

	DanceComposePropChangeLogSourceDirectDrawPrize                        = 1
	DanceComposePropChangeLogSourceChangeDrawPrize                        = 2  //抽奖兑换获得
	DanceComposePropChangeLogSourceStoreChange                            = 3  //商城兑换奖品减少
	DanceComposePropChangeLogSourceOtherGiveChange                        = 4  //他人赠送获得
	DanceComposePropChangeLogSourceGiveOtherChange                        = 5  //赠送他人减少
	DanceComposePropChangeLogSourceAddSplinter                            = 6  //补发添加
	DanceComposePropChangeLogSourceCutSplinter                            = 7  //补发减少
	DanceComposePropChangeLogPieceExchangeScore                           = 8  //兑换星光值减少
	DanceComposePropChangeLogPieceExchangeTripScore                       = 9  //兑换旅途点减少
	DanceComposePropChangeLogPieceExchangeProp                            = 10 //碎片兑换道具增加
	DanceComposePropChangeLogUserUseProp                                  = 11 //用户,主播使用减少
	DanceComposePropChangeLogSourcePropResolve                            = 12 //道具分解
	DanceComposePropChangeLogSourceBuyShopMallGoodReduced                 = 13 //购买商品减少
	DanceComposePropChangeLogSourceBuyShopMallGoodAdd                     = 14 //购买商品增加
	DanceComposePropChangeLogSourceOpenTreasureBoxAdd                     = 15 //开宝箱增加
	DanceComposePropChangeLogSourceOpenTreasureBoxReduce                  = 16 //开宝箱减少
	DanceComposePropChangeLogSourceOpenPetEggReduce                       = 17 //开宠物蛋减少
	DanceComposePropChangeLogSourceOpenFeedPetReduce                      = 18 //喂养宠物减少
	DanceComposePropChangeLogSourceEndMiningAdd                           = 19 //结束挖矿发放奖励
	DanceComposePropChangeLogSourceTripActivity                           = 20 //旅途活动
	DanceComposePropChangeLogSourceBetaPetSettlementEmpty                 = 21 //内测宠物结算清空
	DanceComposePropChangeLogSourceBetaPetSettlementSend                  = 22 //内测宠物结算发放
	DanceComposePropChangeLogSourcePetPowerRankingAdd                     = 23 // 用户战力结算奖励
	DanceComposePropChangeLogSourceSwipeGiftsGivePropsActivity            = 24 //刷礼物送道具活动
	DanceComposePropChangeLogSourceReissueAdd                             = 25 //宠物结算补发
	DanceComposePropChangeLogSourceMysticalShopRoomBuy                    = 26 // 神秘商店直播间购买
	DanceComposePropChangeLogSourceAnniversaryActivityFortuneCardPrize    = 27 // 周年庆活动集福卡奖励
	DanceComposePropChangeLogSourceAnniversaryActivityFortuneCardCompound = 28 // 周年庆活动合成福卡
	DanceComposePropChangeLogSourceScoreActivity                          = 29 // 星光值活动
	DanceComposePropChangeLogSourcePetOpenEggExchange                     = 30 // 宠物开蛋兑换
	DanceComposePropChangeLogSourceOnHoldTeamReduce                       = 31 // 组队挂机扣减
	DanceComposePropChangeLogSourceOnHoldEndReward                        = 32 // 队伍挂机结束发放奖励
	DanceComposePropChangeLogSourceOldPetGainLogReissue                   = 33 // 旧宠物获取记录补发
	DanceComposePropChangeLogSourcePetLevelUpReduce                       = 34 // 宠物升级减少
	DanceComposePropChangeLogSourcePetReincarnationReduce                 = 35 // 宠物转生减少
	DanceComposePropChangeLogSourcePetReviveReduce                        = 36 // 宠物复活减少
	DanceComposePropChangeLogPetBossPieceExchangeAdd                      = 37 //宠物boss商店碎片兑换获得
	DanceComposePropChangeLogPetBossPieceExchangeReduce                   = 38 //宠物boss商店碎片兑换减少
	DanceComposePropChangeLogPetBossAtkRankReward                         = 39 //打boss伤害排名发放奖励
	DanceComposePropChangeLogPetHpPillReissueRevive                       = 40 //旧生命丹道具补发复活丹
	DanceComposePropChangeLogMiniGameDayTask                              = 41 //小游戏每日任务获取
	DanceComposePropChangeLogPetBossAtkDmgReward                          = 42 //打boss伤害档位发放奖励
	DanceComposePropChangeLogDrawPrizeDayTaskReward                       = 43 //抽奖每日任务送奖励
	DanceComposePropChangeLogSourceMiniGamePropResolve                    = 44 //小游戏道具分解
	DanceComposePropChangeLogSourceMiniGameBuyShopMallGoodReduced         = 45 //小游戏购买商品减少
	DanceComposePropChangeLogSourceMiniGameBuyShopMallGoodAdd             = 46 //小游戏购买商品增加
	DanceComposePropChangeLogSourceMiniGameOpenTreasureBoxReduce          = 47 //小游戏开宝箱减少
	DanceComposePropChangeLogSourceMiniGameOpenTreasureBoxAdd             = 48 //小游戏开宝箱增加
	DanceComposePropChangeLogSourceChangeNewDrawPrize                     = 49 //新活动抽奖获得
	//DanceComposePropChangeLogSourceChangeNewDrawCPGift                    = 50 //新活动抽奖Cp赠送获得
	DanceComposePropChangeLogeMiniGamePieceExchangePropAdd                      = 51 //小游戏碎片兑换道具获得
	DanceComposePropChangeLogSourceMiniGamePieceExchangePropReduced             = 52 //小游戏碎片兑换道具减少
	DanceComposePropChangeLogMiniGamePieceExchangeScoreReduced                  = 53 //小游戏碎片兑换星光值减少
	DanceComposePropChangeLogMiniGamePieceExchangeTripScoreReduced              = 54 //小游戏碎片兑换旅途点减少
	DanceComposePropChangeLogConfessionWall                                     = 55 //告白墙周榜发放
	DanceComposePropChangeLogAllGiftWeekRank                                    = 56 //全服礼物周榜发放
	DanceComposePropChangeLogMinGameTurntableDrawPrize                          = 57 //小游戏转盘抽奖
	DanceComposePropChangeLogRingMarriageProposalOpenRedPacket                  = 58 //戒指求婚模式开红包
	DanceComposePropChangeLogCumulativeSales                                    = 59 //累销活动发放
	DanceComposePropChangeLogRingMarriageEngagementOpenRedPacket                = 60 //戒指订婚模式开红包
	DanceComposePropChangeLogHourTopRank                                        = 61 //小时榜活动发放
	DanceComposePropChangeLogSourceRingMarriageProposalModelStart               = 62 // 戒指求婚模式开启
	DanceComposePropChangeLogSourceRingMarriageProposalModelFortuneAccomplish   = 63 // 戒指求婚模式福气值完成
	DanceComposePropChangeLogSourceRingMarriageEngagementModelStart             = 64 // 戒指订婚模式开启
	DanceComposePropChangeLogSourceRingMarriageEngagementModelFortuneAccomplish = 65 // 戒指订婚模式福气值完成
	DanceComposePropChangeLogSourceRingMarriedModelStart                        = 66 // 戒指结婚模式开启
	DanceComposePropChangeLogSourceRingMarriedModelFortuneAccomplish            = 67 // 戒指结婚模式福气值完成
	DanceComposePropChangeLogSourceRingProposalHalfModelStart                   = 68 // 戒指求婚半价模式开启
	DanceComposePropChangeLogSourceRingProposalHalfModelFortuneAccomplish       = 69 // 戒指求婚半价模式福气值完成
	DanceComposePropChangeLogRingMarriedOpenRedPacket                           = 70 // 戒指结婚模式开红包
	DanceComposePropChangeLogRingProposalHalfOpenRedPacket                      = 71 // 戒指求婚半价模式开红包
	DanceComposePropChangeLogDoubleHourTopRank                                  = 72 // 双人小时榜活动发放
	DanceComposePropChangeLogMinGameDrawPrizeDayTaskReward                      = 73 // 抽奖每日任务送奖励(小背包领取)
	DanceComposePropChangeLogRoseRank                                           = 74 // 魅力值排行榜奖励
	DanceComposePropChangeLogDrawAccumulateNumPrizeChoose                       = 75 // 抽奖每期累计次数奖励多选1

)

type DanceComposePropChangeLogEnums struct {
}

var DanceComposePropChangeLogEnumsObject DanceComposePropChangeLogEnums

func (e DanceComposePropChangeLogEnums) SourceType() []int {
	return []int{
		DanceComposePropChangeLogSourceDirectDrawPrize,
		DanceComposePropChangeLogSourceChangeDrawPrize,
		DanceComposePropChangeLogSourceStoreChange,
		DanceComposePropChangeLogSourceOtherGiveChange,
		DanceComposePropChangeLogSourceGiveOtherChange,
		DanceComposePropChangeLogSourceAddSplinter,
		DanceComposePropChangeLogSourceCutSplinter,
		DanceComposePropChangeLogPieceExchangeScore,
		DanceComposePropChangeLogPieceExchangeTripScore,
		DanceComposePropChangeLogPieceExchangeProp,
		DanceComposePropChangeLogUserUseProp,
		DanceComposePropChangeLogSourcePropResolve,
		DanceComposePropChangeLogSourceBuyShopMallGoodReduced,
		DanceComposePropChangeLogSourceBuyShopMallGoodAdd,
		DanceComposePropChangeLogSourceOpenTreasureBoxAdd,
		DanceComposePropChangeLogSourceOpenTreasureBoxReduce,
		DanceComposePropChangeLogSourceOpenPetEggReduce,
		DanceComposePropChangeLogSourceOpenFeedPetReduce,
		DanceComposePropChangeLogSourceEndMiningAdd,
		DanceComposePropChangeLogSourceTripActivity,
		DanceComposePropChangeLogSourceBetaPetSettlementEmpty,
		DanceComposePropChangeLogSourceBetaPetSettlementSend,
		DanceComposePropChangeLogSourcePetPowerRankingAdd,
		DanceComposePropChangeLogSourceSwipeGiftsGivePropsActivity,
		DanceComposePropChangeLogSourceReissueAdd,
		DanceComposePropChangeLogSourceMysticalShopRoomBuy,
		DanceComposePropChangeLogSourceAnniversaryActivityFortuneCardPrize,
		DanceComposePropChangeLogSourceAnniversaryActivityFortuneCardCompound,
		DanceComposePropChangeLogSourceScoreActivity,
		DanceComposePropChangeLogSourcePetOpenEggExchange,
		DanceComposePropChangeLogSourceOnHoldTeamReduce,
		DanceComposePropChangeLogSourceOnHoldEndReward,
		DanceComposePropChangeLogSourceOldPetGainLogReissue,
		DanceComposePropChangeLogSourcePetLevelUpReduce,
		DanceComposePropChangeLogSourcePetReincarnationReduce,
		DanceComposePropChangeLogSourcePetReviveReduce,
		DanceComposePropChangeLogPetBossPieceExchangeAdd,
		DanceComposePropChangeLogPetBossPieceExchangeReduce,
		DanceComposePropChangeLogPetBossAtkRankReward,
		DanceComposePropChangeLogPetHpPillReissueRevive,
		DanceComposePropChangeLogMiniGameDayTask,
		DanceComposePropChangeLogPetBossAtkDmgReward,
		DanceComposePropChangeLogDrawPrizeDayTaskReward,
		DanceComposePropChangeLogSourceMiniGamePropResolve,
		DanceComposePropChangeLogSourceMiniGameBuyShopMallGoodReduced,
		DanceComposePropChangeLogSourceMiniGameBuyShopMallGoodAdd,
		DanceComposePropChangeLogSourceMiniGameOpenTreasureBoxReduce,
		DanceComposePropChangeLogSourceMiniGameOpenTreasureBoxAdd,
		DanceComposePropChangeLogSourceChangeNewDrawPrize,
		//DanceComposePropChangeLogSourceChangeNewDrawCPGift,
		DanceComposePropChangeLogeMiniGamePieceExchangePropAdd,
		DanceComposePropChangeLogSourceMiniGamePieceExchangePropReduced,
		DanceComposePropChangeLogMiniGamePieceExchangeScoreReduced,
		DanceComposePropChangeLogMiniGamePieceExchangeTripScoreReduced,
		DanceComposePropChangeLogConfessionWall,
		DanceComposePropChangeLogAllGiftWeekRank,
		DanceComposePropChangeLogMinGameTurntableDrawPrize,
		DanceComposePropChangeLogRingMarriageProposalOpenRedPacket,
		DanceComposePropChangeLogCumulativeSales,
		DanceComposePropChangeLogRingMarriageEngagementOpenRedPacket,
		DanceComposePropChangeLogHourTopRank,
		DanceComposePropChangeLogSourceRingMarriageProposalModelStart,
		DanceComposePropChangeLogSourceRingMarriageProposalModelFortuneAccomplish,
		DanceComposePropChangeLogSourceRingMarriageEngagementModelStart,
		DanceComposePropChangeLogSourceRingMarriageEngagementModelFortuneAccomplish,
		DanceComposePropChangeLogSourceRingMarriedModelStart,
		DanceComposePropChangeLogSourceRingMarriedModelFortuneAccomplish,
		DanceComposePropChangeLogSourceRingProposalHalfModelStart,
		DanceComposePropChangeLogSourceRingProposalHalfModelFortuneAccomplish,
		DanceComposePropChangeLogRingMarriedOpenRedPacket,
		DanceComposePropChangeLogRingProposalHalfOpenRedPacket,
		DanceComposePropChangeLogDoubleHourTopRank,
		DanceComposePropChangeLogMinGameDrawPrizeDayTaskReward,
		DanceComposePropChangeLogRoseRank,
		DanceComposePropChangeLogDrawAccumulateNumPrizeChoose,
	}
}

func (e DanceComposePropChangeLogEnums) SourceMap() map[int]string {
	m := make(map[int]string)
	for _, s := range e.SourceType() {
		m[s] = e.SourceString(s)
	}
	return m
}

func (e DanceComposePropChangeLogEnums) SourceString(tag int) string {
	switch tag {
	case DanceComposePropChangeLogSourceDirectDrawPrize:
		return "抽奖直接获得"
	case DanceComposePropChangeLogSourceChangeDrawPrize:
		return "抽奖兑换获得"
	case DanceComposePropChangeLogSourceStoreChange:
		return "商城兑换奖品减少"
	case DanceComposePropChangeLogSourceOtherGiveChange:
		return "他人赠送获得"
	case DanceComposePropChangeLogSourceGiveOtherChange:
		return "赠送他人减少"
	case DanceComposePropChangeLogSourceAddSplinter:
		return "补发添加"
	case DanceComposePropChangeLogSourceCutSplinter:
		return "补发减少"
	case DanceComposePropChangeLogPieceExchangeScore:
		return "兑换星光值减少"
	case DanceComposePropChangeLogPieceExchangeTripScore:
		return "兑换旅途点减少"
	case DanceComposePropChangeLogPieceExchangeProp:
		return "碎片兑换道具增加"
	case DanceComposePropChangeLogUserUseProp:
		return "用户/主播使用减少"
	case DanceComposePropChangeLogSourcePropResolve:
		return "道具分解"
	case DanceComposePropChangeLogSourceBuyShopMallGoodReduced:
		return "购买商品减少"
	case DanceComposePropChangeLogSourceBuyShopMallGoodAdd:
		return "购买商品增加"
	case DanceComposePropChangeLogSourceOpenTreasureBoxAdd:
		return "开宝箱增加"
	case DanceComposePropChangeLogSourceOpenTreasureBoxReduce:
		return "开宝箱减少"
	case DanceComposePropChangeLogSourceOpenPetEggReduce:
		return "开宠物蛋减少"
	case DanceComposePropChangeLogSourceOpenFeedPetReduce:
		return "喂养宠物减少"
	case DanceComposePropChangeLogSourceEndMiningAdd:
		return "结束挖矿发放奖励"
	case DanceComposePropChangeLogSourceTripActivity:
		return "旅途活动"
	case DanceComposePropChangeLogSourceBetaPetSettlementEmpty:
		return "内测宠物结算清空"
	case DanceComposePropChangeLogSourceBetaPetSettlementSend:
		return "内测宠物结算发放"
	case DanceComposePropChangeLogSourcePetPowerRankingAdd:
		return "战力结算奖励发放"
	case DanceComposePropChangeLogSourceSwipeGiftsGivePropsActivity:
		return "刷礼物送道具活动"
	case DanceComposePropChangeLogSourceReissueAdd:
		return "宠物结算补发"
	case DanceComposePropChangeLogSourceMysticalShopRoomBuy:
		return "神秘商店直播间购买"
	case DanceComposePropChangeLogSourceAnniversaryActivityFortuneCardPrize:
		return "周年庆活动集福卡奖励"
	case DanceComposePropChangeLogSourceAnniversaryActivityFortuneCardCompound:
		return "周年庆活动合成福卡"
	case DanceComposePropChangeLogSourceScoreActivity:
		return "星光值活动"
	case DanceComposePropChangeLogSourcePetOpenEggExchange:
		return "宠物开蛋兑换"
	case DanceComposePropChangeLogSourceOnHoldTeamReduce:
		return "组队挂机扣减"
	case DanceComposePropChangeLogSourceOnHoldEndReward:
		return "队伍挂机结束发放奖励"
	case DanceComposePropChangeLogSourceOldPetGainLogReissue:
		return "旧宠物获取记录补发"
	case DanceComposePropChangeLogSourcePetLevelUpReduce:
		return "宠物升级减少"
	case DanceComposePropChangeLogSourcePetReincarnationReduce:
		return "宠物转生减少"
	case DanceComposePropChangeLogSourcePetReviveReduce:
		return "宠物复活减少"
	case DanceComposePropChangeLogPetBossPieceExchangeAdd:
		return "宠物boss商店碎片兑换获得"
	case DanceComposePropChangeLogPetBossPieceExchangeReduce:
		return "宠物boss商店碎片兑换减少"
	case DanceComposePropChangeLogPetBossAtkRankReward:
		return "打boss伤害排名发放奖励"
	case DanceComposePropChangeLogPetHpPillReissueRevive:
		return "旧生命丹道具补发复活丹"
	case DanceComposePropChangeLogMiniGameDayTask:
		return "小游戏每日任务获取"
	case DanceComposePropChangeLogPetBossAtkDmgReward:
		return "打boss伤害档位发放奖励"
	case DanceComposePropChangeLogDrawPrizeDayTaskReward:
		return "抽奖每日任务送奖励"
	case DanceComposePropChangeLogSourceMiniGamePropResolve:
		return "小游戏道具分解"
	case DanceComposePropChangeLogSourceMiniGameBuyShopMallGoodReduced:
		return "小游戏购买商品减少"
	case DanceComposePropChangeLogSourceMiniGameBuyShopMallGoodAdd:
		return "小游戏购买商品增加"
	case DanceComposePropChangeLogSourceMiniGameOpenTreasureBoxReduce:
		return "小游戏开宝箱减少"
	case DanceComposePropChangeLogSourceMiniGameOpenTreasureBoxAdd:
		return "小游戏开宝箱增加"
	case DanceComposePropChangeLogSourceChangeNewDrawPrize:
		return "新活动抽奖获得"
	//case DanceComposePropChangeLogSourceChangeNewDrawCPGift:
	//	return "新活动抽奖Cp赠送获得"
	case DanceComposePropChangeLogeMiniGamePieceExchangePropAdd:
		return "小游戏碎片兑换道具获得"
	case DanceComposePropChangeLogSourceMiniGamePieceExchangePropReduced:
		return "小游戏碎片兑换道具减少"
	case DanceComposePropChangeLogMiniGamePieceExchangeScoreReduced:
		return "小游戏碎片兑换星光值减少"
	case DanceComposePropChangeLogMiniGamePieceExchangeTripScoreReduced:
		return "小游戏碎片兑换旅途点减少"
	case DanceComposePropChangeLogConfessionWall:
		return "告白墙周榜发放"
	case DanceComposePropChangeLogAllGiftWeekRank:
		return "全服礼物周榜发放"
	case DanceComposePropChangeLogMinGameTurntableDrawPrize:
		return "小游戏转盘抽奖"
	case DanceComposePropChangeLogRingMarriageProposalOpenRedPacket:
		return "戒指求婚模式开红包"
	case DanceComposePropChangeLogCumulativeSales:
		return "累销活动发放"
	case DanceComposePropChangeLogRingMarriageEngagementOpenRedPacket:
		return "戒指订婚模式开红包"
	case DanceComposePropChangeLogHourTopRank:
		return "小时榜活动发放"
	case DanceComposePropChangeLogSourceRingMarriageProposalModelStart:
		return "戒指求婚模式开启"
	case DanceComposePropChangeLogSourceRingMarriageProposalModelFortuneAccomplish:
		return "戒指求婚模式福气值完成"
	case DanceComposePropChangeLogSourceRingMarriageEngagementModelStart:
		return "戒指订婚模式开启"
	case DanceComposePropChangeLogSourceRingMarriageEngagementModelFortuneAccomplish:
		return "戒指订婚模式福气值完成"
	case DanceComposePropChangeLogSourceRingMarriedModelStart:
		return "戒指结婚模式开启"
	case DanceComposePropChangeLogSourceRingMarriedModelFortuneAccomplish:
		return "戒指结婚模式福气值完成"
	case DanceComposePropChangeLogSourceRingProposalHalfModelStart:
		return "戒指求婚半价模式开启"
	case DanceComposePropChangeLogSourceRingProposalHalfModelFortuneAccomplish:
		return "戒指求婚半价模式福气值完成"
	case DanceComposePropChangeLogRingMarriedOpenRedPacket:
		return "戒指结婚模式开红包"
	case DanceComposePropChangeLogRingProposalHalfOpenRedPacket:
		return "戒指求婚半价模式开红包"
	case DanceComposePropChangeLogDoubleHourTopRank:
		return "双人小时榜活动发放"
	case DanceComposePropChangeLogMinGameDrawPrizeDayTaskReward:
		return "抽奖每日任务送奖励(小背包领取)"
	case DanceComposePropChangeLogRoseRank:
		return "魅力值排行榜奖励"
	case DanceComposePropChangeLogDrawAccumulateNumPrizeChoose:
		return "抽奖每期累计次数奖励多选1"
	default:
		return "其他"
	}
}

func (e DanceComposePropChangeLogEnums) ChangeType() []int {
	return []int{
		DanceComposePropChangeLogChangeTypeAdd,
		DanceComposePropChangeLogChangeTypeReduced,
	}
}

func (e DanceComposePropChangeLogEnums) ChangeTypeMap() map[int]string {
	m := make(map[int]string)
	for _, s := range e.ChangeType() {
		m[s] = e.ChangeTypeString(s)
	}
	return m
}

func (e DanceComposePropChangeLogEnums) ChangeTypeString(tag int) string {
	switch tag {
	case DanceComposePropChangeLogChangeTypeAdd:
		return "增加"
	case DanceComposePropChangeLogChangeTypeReduced:
		return "减少"
	default:
		return "其他"
	}
}
